package cn.laowen.org.mapper;





import cn.laowen.org.domain.Dictionary;
import cn.laowen.org.query.DictionaryEditQuery;

import java.util.List;

public interface DictionaryEditMapper {
    //查询全表
    List<Dictionary> loadAll();

    //查询一条
    Dictionary loadById(Long id);

    //新增
    void save(Dictionary dictionary);
    //修改
    void update(Dictionary dictionary);
    //删除一条
    void deleteById(Long id);

    //查询总条数
    Long queryCount(DictionaryEditQuery dictionaryEditQuery);


    //查询当前页数据
    List<Dictionary> queryData(DictionaryEditQuery dictionaryEditQuery);


    //批量删除
    void batchRemove(List<Long> ids);
    
    
}
